package com.bbzn.device.client.service;

import com.bbzn.device.client.dto.api.ResultResponse;
import com.bbzn.device.client.dto.api.geocode.GetCodeRequest;
import com.bbzn.device.client.dto.api.geocode.GetCodeResult;
import com.bbzn.device.client.dto.api.position.GetPositionRequest;
import com.bbzn.device.client.dto.api.position.GetPositionResult;
import com.bbzn.device.client.dto.api.weatherInfo.GetWeatherInfoRequest;
import com.bbzn.device.client.dto.api.weatherInfo.GetWeatherInfoResult;

public interface GaodeMapApiService {

    /**
     * 高德根據WIFI定位
     * @param request
     * @return
     * @throws Exception
     */
    ResultResponse<GetPositionResult> getPosition(GetPositionRequest request) throws Exception;

    /**
     * 高德逆地理编码
     * @param request
     * @return
     * @throws Exception
     */
    ResultResponse<GetCodeResult> getCode(GetCodeRequest request) throws Exception;

    /**
     * 高德天气查询
     * @param request
     * @return
     * @throws Exception
     */
    ResultResponse<GetWeatherInfoResult> getWeatherInfo(GetWeatherInfoRequest request) throws Exception;


}
